package com.lcxedu.notebook.entity;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * event
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Event implements Serializable {
    private Integer id;

    private Integer userId;

    private Integer categoryId;

    private String title;

    private String content;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date startDate;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date endDate;

    private Object level;

    private Object status;

    private static final long serialVersionUID = 1L;
}